<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>QuantumLibrary: Bloomberg::quantum::SharedState&lt; T &gt; Class Template Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">QuantumLibrary
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d2/df0/classBloomberg_1_1quantum_1_1SharedState.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="../../d6/d6e/classBloomberg_1_1quantum_1_1SharedState-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Bloomberg::quantum::SharedState&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Shared state used between a <a class="el" href="../../d1/d15/classBloomberg_1_1quantum_1_1Promise.html" title="Class representing a promised value.">Promise</a> and a <a class="el" href="../../dc/d14/classBloomberg_1_1quantum_1_1Future.html" title="Class representing a promised future. Can only be instantiated via a Promise object.">Future</a> to exchange values.  
 <a href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../d4/de4/quantum__shared__state_8h_source.html">quantum_shared_state.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7ef90daf7a49aa57981779ea2ce5508f"><td class="memTemplParams" colspan="2">template&lt;class V  = T&gt; </td></tr>
<tr class="memitem:a7ef90daf7a49aa57981779ea2ce5508f"><td class="memTemplItemLeft" align="right" valign="top">int&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#a7ef90daf7a49aa57981779ea2ce5508f">set</a> (V &amp;&amp;value)</td></tr>
<tr class="separator:a7ef90daf7a49aa57981779ea2ce5508f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade8445a28f62a8ce855a8a0f6784f470"><td class="memTemplParams" colspan="2">template&lt;class V  = T&gt; </td></tr>
<tr class="memitem:ade8445a28f62a8ce855a8a0f6784f470"><td class="memTemplItemLeft" align="right" valign="top">int&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#ade8445a28f62a8ce855a8a0f6784f470">set</a> (<a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a> sync, V &amp;&amp;value)</td></tr>
<tr class="separator:ade8445a28f62a8ce855a8a0f6784f470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35539c2a67f2a81b995b40814fef3976"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#a35539c2a67f2a81b995b40814fef3976">get</a> ()</td></tr>
<tr class="separator:a35539c2a67f2a81b995b40814fef3976"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a348e7f855dab4bd3d3dd94949eab1164"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#a348e7f855dab4bd3d3dd94949eab1164">get</a> (<a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a> sync)</td></tr>
<tr class="separator:a348e7f855dab4bd3d3dd94949eab1164"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abda9cfa98f63d7c5e5b833ce74d09b1e"><td class="memItemLeft" align="right" valign="top">const T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#abda9cfa98f63d7c5e5b833ce74d09b1e">getRef</a> () const</td></tr>
<tr class="separator:abda9cfa98f63d7c5e5b833ce74d09b1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dce900d14847192d1e2551773f8ebf3"><td class="memItemLeft" align="right" valign="top">const T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#a1dce900d14847192d1e2551773f8ebf3">getRef</a> (<a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a> sync) const</td></tr>
<tr class="separator:a1dce900d14847192d1e2551773f8ebf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f41b9ba8a27ddf54abab7ce18e2b29f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#a8f41b9ba8a27ddf54abab7ce18e2b29f">breakPromise</a> ()</td></tr>
<tr class="separator:a8f41b9ba8a27ddf54abab7ce18e2b29f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45ede00d92244d8ac608c7272de3f76e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#a45ede00d92244d8ac608c7272de3f76e">wait</a> () const</td></tr>
<tr class="separator:a45ede00d92244d8ac608c7272de3f76e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a305cd0e11cfcdf8b3558643c8233d387"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#a305cd0e11cfcdf8b3558643c8233d387">wait</a> (<a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a> sync) const</td></tr>
<tr class="separator:a305cd0e11cfcdf8b3558643c8233d387"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a0434f0a0c440990cd4404f085b6696"><td class="memTemplParams" colspan="2">template&lt;class REP , class PERIOD &gt; </td></tr>
<tr class="memitem:a7a0434f0a0c440990cd4404f085b6696"><td class="memTemplItemLeft" align="right" valign="top">std::future_status&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#a7a0434f0a0c440990cd4404f085b6696">waitFor</a> (const std::chrono::duration&lt; REP, PERIOD &gt; &amp;time) const</td></tr>
<tr class="separator:a7a0434f0a0c440990cd4404f085b6696"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa4ea09415544ceb6b9f06deb13d4bd8"><td class="memTemplParams" colspan="2">template&lt;class REP , class PERIOD &gt; </td></tr>
<tr class="memitem:aaa4ea09415544ceb6b9f06deb13d4bd8"><td class="memTemplItemLeft" align="right" valign="top">std::future_status&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#aaa4ea09415544ceb6b9f06deb13d4bd8">waitFor</a> (<a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a> sync, const std::chrono::duration&lt; REP, PERIOD &gt; &amp;time) const</td></tr>
<tr class="separator:aaa4ea09415544ceb6b9f06deb13d4bd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab37ff98cb8e66dc99ae155b00c1c0c1e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#ab37ff98cb8e66dc99ae155b00c1c0c1e">setException</a> (std::exception_ptr ex)</td></tr>
<tr class="separator:ab37ff98cb8e66dc99ae155b00c1c0c1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff6b6c13bd12fea1b97498e31e0c7c2d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#aff6b6c13bd12fea1b97498e31e0c7c2d">setException</a> (<a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a> sync, std::exception_ptr ex)</td></tr>
<tr class="separator:aff6b6c13bd12fea1b97498e31e0c7c2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a697fa51a09bfecabc58fd6d07ce8f501"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d9/d6d/classclass.html">class</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html#a697fa51a09bfecabc58fd6d07ce8f501">Promise&lt; T &gt;</a></td></tr>
<tr class="separator:a697fa51a09bfecabc58fd6d07ce8f501"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class T&gt;<br />
class Bloomberg::quantum::SharedState&lt; T &gt;</h3>

<p>Shared state used between a <a class="el" href="../../d1/d15/classBloomberg_1_1quantum_1_1Promise.html" title="Class representing a promised value.">Promise</a> and a <a class="el" href="../../dc/d14/classBloomberg_1_1quantum_1_1Future.html" title="Class representing a promised future. Can only be instantiated via a Promise object.">Future</a> to exchange values. </p>
<dl class="section note"><dt>Note</dt><dd>For internal use only. </dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a8f41b9ba8a27ddf54abab7ce18e2b29f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f41b9ba8a27ddf54abab7ce18e2b29f">&#9670;&nbsp;</a></span>breakPromise()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::breakPromise </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a35539c2a67f2a81b995b40814fef3976"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35539c2a67f2a81b995b40814fef3976">&#9670;&nbsp;</a></span>get() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::get </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a348e7f855dab4bd3d3dd94949eab1164"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a348e7f855dab4bd3d3dd94949eab1164">&#9670;&nbsp;</a></span>get() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::get </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a>&#160;</td>
          <td class="paramname"><em>sync</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="abda9cfa98f63d7c5e5b833ce74d09b1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abda9cfa98f63d7c5e5b833ce74d09b1e">&#9670;&nbsp;</a></span>getRef() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const T &amp; <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::getRef </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a1dce900d14847192d1e2551773f8ebf3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1dce900d14847192d1e2551773f8ebf3">&#9670;&nbsp;</a></span>getRef() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const T &amp; <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::getRef </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a>&#160;</td>
          <td class="paramname"><em>sync</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7ef90daf7a49aa57981779ea2ce5508f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ef90daf7a49aa57981779ea2ce5508f">&#9670;&nbsp;</a></span>set() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<div class="memtemplate">
template&lt;class V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::set </td>
          <td>(</td>
          <td class="paramtype">V &amp;&amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ade8445a28f62a8ce855a8a0f6784f470"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade8445a28f62a8ce855a8a0f6784f470">&#9670;&nbsp;</a></span>set() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<div class="memtemplate">
template&lt;class V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a>&#160;</td>
          <td class="paramname"><em>sync</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">V &amp;&amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab37ff98cb8e66dc99ae155b00c1c0c1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab37ff98cb8e66dc99ae155b00c1c0c1e">&#9670;&nbsp;</a></span>setException() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::setException </td>
          <td>(</td>
          <td class="paramtype">std::exception_ptr&#160;</td>
          <td class="paramname"><em>ex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aff6b6c13bd12fea1b97498e31e0c7c2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff6b6c13bd12fea1b97498e31e0c7c2d">&#9670;&nbsp;</a></span>setException() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::setException </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a>&#160;</td>
          <td class="paramname"><em>sync</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::exception_ptr&#160;</td>
          <td class="paramname"><em>ex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a45ede00d92244d8ac608c7272de3f76e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45ede00d92244d8ac608c7272de3f76e">&#9670;&nbsp;</a></span>wait() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::wait </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a305cd0e11cfcdf8b3558643c8233d387"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a305cd0e11cfcdf8b3558643c8233d387">&#9670;&nbsp;</a></span>wait() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::wait </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a>&#160;</td>
          <td class="paramname"><em>sync</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7a0434f0a0c440990cd4404f085b6696"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a0434f0a0c440990cd4404f085b6696">&#9670;&nbsp;</a></span>waitFor() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<div class="memtemplate">
template&lt;class REP , class PERIOD &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::future_status <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::waitFor </td>
          <td>(</td>
          <td class="paramtype">const std::chrono::duration&lt; REP, PERIOD &gt; &amp;&#160;</td>
          <td class="paramname"><em>time</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aaa4ea09415544ceb6b9f06deb13d4bd8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa4ea09415544ceb6b9f06deb13d4bd8">&#9670;&nbsp;</a></span>waitFor() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<div class="memtemplate">
template&lt;class REP , class PERIOD &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::future_status <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; T &gt;::waitFor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a>&#160;</td>
          <td class="paramname"><em>sync</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::chrono::duration&lt; REP, PERIOD &gt; &amp;&#160;</td>
          <td class="paramname"><em>time</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a697fa51a09bfecabc58fd6d07ce8f501"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a697fa51a09bfecabc58fd6d07ce8f501">&#9670;&nbsp;</a></span>Promise&lt; T &gt;</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend <a class="el" href="../../d9/d6d/classclass.html">class</a> <a class="el" href="../../d1/d15/classBloomberg_1_1quantum_1_1Promise.html">Promise</a>&lt; T &gt;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d6/db9/namespaceBloomberg.html">Bloomberg</a></li><li class="navelem"><a class="el" href="../../dc/d48/namespaceBloomberg_1_1quantum.html">quantum</a></li><li class="navelem"><a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">SharedState</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>
